package com.by.bean;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

@ApiModel(value = "spu信息",description = "")
@Data
@TableName("spu")
public class Spu {
        /** spu id */
        @ApiModelProperty(name = "spu id",notes = "")
        private Integer  spuId ;
        /** 创建人 */
        @ApiModelProperty(name = "创建人",notes = "")
        private String createBy;
        /** 品牌ID */
        @ApiModelProperty(name = "品牌ID",notes = "")
        private Integer brandId ;
        /** 分类ID */
        @ApiModelProperty(name = "分类ID",notes = "")
        private Integer categoryId ;
        /** 店铺分类ID */
        @ApiModelProperty(name = "店铺分类ID",notes = "")
        private Integer shopCategoryId ;
        /** 店铺id */
        @ApiModelProperty(name = "店铺id",notes = "")
        private Integer shopId ;
        /** 商品名称 */
        @ApiModelProperty(name = "商品名称",notes = "")
        private String name ;
        /** 卖点 */
        @ApiModelProperty(name = "卖点",notes = "")
        private String sellingPoint ;
        /** 商品介绍主图 */
        @ApiModelProperty(name = "商品介绍主图",notes = "")
        private String mainImgUrl ;
        /** 商品图片 多个图片逗号分隔 */
        @ApiModelProperty(name = "商品图片 多个图片逗号分隔",notes = "")
        private String imgUrls ;
        /** 商品视频 */
        @ApiModelProperty(name = "商品视频",notes = "")
        private String video ;
        /** 售价，整数方式保存 */
        @ApiModelProperty(name = "售价，整数方式保存",notes = "")
        private BigDecimal priceFee ;
        /** 市场价，整数方式保存 */
        @ApiModelProperty(name = "市场价，整数方式保存",notes = "")
        private BigDecimal marketPriceFee ;
        /** 状态 -1:删除, 0:下架, 1:上架 */
        @ApiModelProperty(name = "状态 -1:删除, 0:下架, 1:上架",notes = "")
        private Integer status ;
        /** sku是否含有图片 0无 1有 */
        @ApiModelProperty(name = "sku是否含有图片 0无 1有",notes = "")
        private Integer hasSkuImg ;
        /** 序号 */
        @ApiModelProperty(name = "序号",notes = "")
        private Integer seq ;
}
